
/*global*/
body{
  background-color: #fafafa !important;
}
.text-warning{
  color:#d2322d !important;
}
.text-primary{
  color:#329da3 !important;
}
.form-horizontal{
  margin-top:5px;
}
.datatable{
  margin-top:35px;
}
.text-overflow{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.switch-box{
  display: inline-block;
  cursor: pointer;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: left;
  overflow: hidden;
  line-height: 8px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  min-width: 100px;
}
.switch-box>div{
  display: inline-block;
  width: 150%;
  position: relative;
  top: 0;
}
div.switch-on{
  left:0%;
}
div.switch-off{
  left:-50%;
}
.switch-box span,.switch-box label{
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
  position: relative;
  display: inline-block;
  height: 100%;
  padding-bottom: 4px;
  padding-top: 4px;
  font-size: 14px;
  line-height: 20px;
  float: left;
}
.switch-box span{
  text-align: center;
  z-index: 1;
  width: 33%;
}
.switch-box label{
  text-align: center;
  margin-top: -1px;
  margin-bottom: -1px;
  z-index: 100;
  width: 34%;
  border-left: 1px solid #cccccc;
  border-right: 1px solid #cccccc;
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #f5f5f5;
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
  border-color: #e6e6e6 #e6e6e6 #bfbfbf;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

span.switch-left{
  color: #ffffff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: #005fcc;
  background-image: -moz-linear-gradient(top, #0044cc, #0088cc);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0044cc), to(#0088cc));
  background-image: -webkit-linear-gradient(top, #0044cc, #0088cc);
  background-image: -o-linear-gradient(top, #0044cc, #0088cc);
  background-image: linear-gradient(to bottom, #0044cc, #0088cc);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0044cc', endColorstr='#ff0088cc', GradientType=0);
  border-color: #0088cc #0088cc #005580;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}
span.switch-right{
  color: #333333;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
  background-color: #f0f0f0;
  background-image: -moz-linear-gradient(top, #e6e6e6, #ffffff);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e6e6e6), to(#ffffff));
  background-image: -webkit-linear-gradient(top, #e6e6e6, #ffffff);
  background-image: -o-linear-gradient(top, #e6e6e6, #ffffff);
  background-image: linear-gradient(to bottom, #e6e6e6, #ffffff);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe6e6e6', endColorstr='#ffffffff', GradientType=0);
  border-color: #ffffff #ffffff #d9d9d9;
  border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
  filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
}

h2.step{
  margin:0 0 15px 0;
  
}
h2.step:first-letter{
  font-size:1.2em;
  color:#428bca;
}

.nav-secondary{
  margin:0 0 15px 0 !important;
  box-shadow: 0px 3px 3px #eee;
}
.nav-secondary li{
  position: relative;
  bottom:-2px;
}
.panel{
  /*padding-top:20px;*/
}
.control-content{
  padding-top: 6px;
}
/*teach-plan*/
.teach-plan-box{
  position:relative;
  padding-bottom:4px;
  margin-bottom:4px;
  border-bottom:1px dotted #eee;
}
.teach-plan-box .teach-plan-content{
  padding-right:50px;
  max-width:200px;
}
.teach-plan-box .form-master-level-box{
  position:absolute;
  top:-2px;
  right:0;
}

.form-lesson-num{
  width:60px !important;
}
.form-master-level{
  width: 45px;
}


/*global2*/
#td-header{
  height: 40px;
  background-color:#329da3;
  border-bottom: 2px solid #fff;
  margin-bottom: 10px;
}
#td-header h1{
  display: inline;
  line-height: 40px;
  margin-left: 15px;
  color: #fff; 
  font-size: 18px;
  font-weight: normal;
  letter-spacing: 5px;
}
#td-header h1 img{
  width: 30px;
  margin-right:5px;
}
#td-info{
  line-height: 50px;
  padding-right:10px;
}
#td-info .btn-link{
  color:#fff;
}
.login{
  margin-left:30%;
  margin-top: 10%;
  width:450px;
  height:300px;
  background-color: #ebf2f9;
  border: 1px solid #035eed;  
  border-radius: 15px;
}
/*
.input-group{
  padding-top:15px;
  color:#000;
  width:70%;
  line-height:32px;  
}
.full{
  width:100%;
}
.input-group span{
  background-color: #333;
  color:#fff;
}
*/
/*上传文件*/
.my-drop-zone { border: dotted 3px lightgray; }
.nv-file-over { border: dotted 3px red; } /* Default class applied to drop zones on over */

/*年月*/
.mp-monthpicker {
    position: relative;
    display: inline-block;
}
.mp-dialog {
    position: absolute;
    z-index: 1000;
    width: 282px;
    height: 260px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #ccc;
    display: none;
}
.mp-title {
    text-align: center;
    line-height: 40px;
    background: #333;
    color: #fff;
    border-radius: 5px 5px 0 0;
}
.mp-title i {
    cursor: pointer;
}
.mp-content {
}
.mp-content ul {
    list-style: none;
    margin: 0;
    padding: 20px;
}
.mp-content li {
    text-align: center;
    line-height: 48px;
    float: left;
    margin: 6px;
    padding: 0;
    width: 48px;
    height: 48px;
    border: 2px dotted #ccc;
    cursor: pointer;
    border-radius: 5px;
}
.mp-content li:hover, .mp-content li.active {
    background: #f5f9fc;
    border: 2px dotted #ffaaaa;
}
.mp-content li.disabled, .mp-content li.disabled:hover {
    display: none;
}

/*分页*/
.page-list .pagination {float:left;}
.page-list .pagination span {cursor: pointer;}
.page-list .pagination .separate span{cursor: default; border-top:none;border-bottom:none;}
.page-list .pagination .separate span:hover {background: none;}
.page-list .page-total {float:left; margin: 25px 20px;}
.page-list .page-total input, .page-list .page-total select{height: 26px; border: 1px solid #ddd;}
.page-list .page-total input {width: 40px; padding-left:3px;}
.page-list .page-total select {width: 50px;}